package cn.kgc.ebookmanagement.service;

import cn.kgc.ebookmanagement.pojo.EbookEntry;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 2020-05-18 18:02
 */
public interface EbookEntryService {

    public PageInfo<EbookEntry> select(Integer pageNum, Integer pageSize, Integer categoryId);
    public Integer add(EbookEntry ebookEntry);
    public EbookEntry selectById(Integer id);
    public Integer update(EbookEntry ebookEntry);
    public Integer delete(Integer id);
}
